home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3066 < prev    next >
Encoding:
Text File  |  1996-08-06  |  870 b   |  32 lines

  1. Path: ix.netcom.com!netnews
  2. From: rykk <rykk@ix.netcom.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: visual c++ 1.5 compiler not working in windows 95
  5. Date: 21 Jan 1996 21:49:48 GMT
  6. Organization: Netcom
  7. Message-ID: <4ducds$aei@ixnews6.ix.netcom.com>
  8. NNTP-Posting-Host: sac-ca10-07.ix.netcom.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-NETCOM-Date: Sun Jan 21  1:49:48 PM PST 1996
  13. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  14.  
  15. when i try to compile "hello world" the most basic program, my compiler tells me i 
  16. have over 102 errors and quits.  the errors it lists makes little sense. just to 
  17. verify that i am doing it right, here is what i do:
  18. open msvc
  19. open new,
  20. write
  21.  
  22.  
  23. #include <iostream.h>
  24. void main()
  25. {
  26. cout << "hello world\n";
  27. }
  28.  
  29. then i pull down the "project" item and chose compile am i doing it right?
  30. thank you!
  31.  
  32.